package 单例模式.多例类;

import java.util.Scanner;

public class client {
    public static void main(String[] args) {
        System.out.println("请输入多例类要多少个对象(0-100)");
        Scanner scanner=new Scanner(System.in);
        int num= Integer.parseInt(scanner.next());
        Multition.random(num);
        Multition multition = Multition.getMultition();

        //遍历多例类的对象的hashcode
        multition.test();
    }
}
